<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8" isELIgnored="false"%>
<%
	request.setAttribute("title", "实验表详情");
	request.setAttribute("modelConfigPath", "studentManager");
	
	String experimentId = (String)session.getAttribute("experimentId");
%>

<%@ include file="/WEB-INF/views/shared/master/contentHeader.jsp"%>
<style type="text/css">
</style>

<t:panel cssClass="panel-flat form-detailed" customBody="true"
	customHead="true">
	<div class="detailed-navbar-content panel-body">
		
		<t:form commandName="experimentExcel" action="/admin/experimentExcel/save"
			method="post" cssClass="form-horizontal">
			<div class="hide">
				<t:hidden path="excelId" />
				<t:hidden path="createId"/>
			</div>
			<t:formgroup>
				<t:label path="experimentExcelName" cssClass="col-sm-2" />
				<t:input path="experimentExcelName" colClass="col-sm-4" />
				<t:label path="experimentId" style="display:none" cssClass="col-sm-2" />
				<t:input path="experimentId" value="<%=experimentId %>" type="hidden" colClass="col-sm-4" />
			</t:formgroup> 
			<t:formgroup>
				<t:label path="comment" cssClass="col-sm-2" />
				<t:textarea path="comment"  colClass="col-sm-10" />
			</t:formgroup>
			
		</t:form>
	</div>
	<t:panelFoot headingBtnCssClass="heading-btn pull-right-important">
		<t:button icon="icon-floppy-disk" id="save" onclick="saveData()"
			cssClass="btn-info" csize="sm">保存</t:button>
	</t:panelFoot>
</t:panel>

<script type="text/javascript">
	function saveData() {
		if (!$("form:first").valid()) {
			return;
		}
		$("form:first").submit();
	}
</script>
<%@ include file="/WEB-INF/views/shared/base/scripts/jqueryui.jsp"%>
<%@ include
	file="/WEB-INF/views/shared/base/scripts/limitless/default/formselects.jsp"%>
<%@ include
	file="/WEB-INF/views/shared/base/scripts/limitless/default/formstyling.jsp"%>
<%@ include file="/WEB-INF/views/shared/base/scripts/limitless/default/formpickers.jsp"%>
<%@ include file="/WEB-INF/views/shared/master/dialog.jsp"%>
<%@ include file="/WEB-INF/views/shared/master/contentFooter.jsp"%>
